home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer (Italian) 36 / PC Gamer IT CD 36 2-2.iso / SINDEMO / sindemo2.exe / data / base / pak0.pak / models / view_magnum.def < prev    next >
Text File  |  1998-09-22  |  2KB  |  60 lines

  1. SDEF
  2. //
  3. // The file declaration section
  4. //
  5. path models/magnum
  6. origin 0 10 0
  7. scale 1.0
  8. magnum_base.sbm
  9. magnum_base.tga
  10.  
  11. //
  12. // Declare the animation types and files
  13. //
  14. ready1      magnum_ready.SAM
  15. fire1       magnum_fire.SAM
  16. silfire1    magnum_fire.SAM
  17. idle1       magnum_idle1.SAM
  18. idle2       magnum_idle2.SAM
  19. reload1     magnum_load.SAM
  20. putaway1    magnum_putaway.SAM
  21. //
  22. // Define model group areas
  23. //
  24. id 200 group weapon bone barrel 0 180 65
  25.  
  26. //
  27. // The initialization section
  28. //
  29. !init:
  30. //
  31. // Define the animation sound references
  32. //
  33. client aliasprefix Magnum_
  34. client aliascache snd_fire1    "weapons/magnum/fire3.wav"
  35. client aliascache snd_silfire1 "weapons/magnum/silshot.wav"
  36. client aliascache snd_reload1 "weapons/magnum/reload1.wav"
  37.  
  38. //
  39. // The main section
  40. //
  41. !main:
  42. //
  43. // Define the client/server animation references
  44. //
  45. client fire1 first randomsound snd_fire 1
  46. client fire1 first attach barrel sprites/gunblast.spr time 0.15 scale 0.4 origin 10 0 -10 alphafade
  47. client fire1 first shootbullets 1 10 10 10
  48. // dlight <red> <rand_red_amount> <green> <rand_green_amount> <blue> <rand_blue_amount> <radius> <rand_radius_amount> <life> <decay>
  49. client fire1 first dlight 1 0 0.4 0 0 0 200 0 0.6 0.7
  50. server fire1 first weaponsound
  51. server fire1 first shoot
  52.  
  53. // Silenced weapon fire
  54. client silfire1 first randomsound snd_silfire .6 1
  55. client silfire1 first shootbullets 1 10 10 10
  56. server silfire1 first movementsound
  57. server silfire1 first shoot
  58.  
  59. //Reload
  60. client reload1 first randomsound snd_reload 1 7